add class queryselector

67

add class queryselector -

const element = document.querySelector("#box");

element.classList.add("class-name");

add class queryselector -

<div id="box"></div>

Comments

Submit
0 Comments